summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-08-14 23:49:27 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2017-08-18 12:21:45 +0200
commit217a4b329674864d711cc248693e33f826a6cd44 (patch)
treee091357259c1e5ed65ed6ad5201465c9b94ffab5 /SetFlags.cmake
parentUpdated README.md status badges (#3926) (diff)
downloadcuberite-217a4b329674864d711cc248693e33f826a6cd44.tar
cuberite-217a4b329674864d711cc248693e33f826a6cd44.tar.gz
cuberite-217a4b329674864d711cc248693e33f826a6cd44.tar.bz2
cuberite-217a4b329674864d711cc248693e33f826a6cd44.tar.lz
cuberite-217a4b329674864d711cc248693e33f826a6cd44.tar.xz
cuberite-217a4b329674864d711cc248693e33f826a6cd44.tar.zst
cuberite-217a4b329674864d711cc248693e33f826a6cd44.zip
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r--SetFlags.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 18d5be236..c0192f4ab 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -109,6 +109,7 @@ macro(set_flags)
if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fomit-frame-pointer")
+ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fomit-frame-pointer")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")